// Copyright 2025 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//     https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
// Code generated by sidekick. DO NOT EDIT.
#![allow(rustdoc::redundant_explicit_links)]
#![allow(rustdoc::broken_intra_doc_links)]

/// Implements a client for the Financial Services API.
///
/// # Example
/// ```
/// # tokio_test::block_on(async {
/// # use google_cloud_financialservices_v1::client::Aml;
/// let client = Aml::builder().build().await?;
/// // use `client` to make requests to the Financial Services API.
/// # gax::client_builder::Result::<()>::Ok(()) });
/// ```
///
/// # Service Description
///
/// The AML (Anti Money Laundering) service allows users to perform REST
/// operations on aml.
///
/// # Configuration
///
/// To configure `Aml` use the `with_*` methods in the type returned
/// by [builder()][Aml::builder]. The default configuration should
/// work for most applications. Common configuration changes include
///
/// * [with_endpoint()]: by default this client uses the global default endpoint
///   (`https://financialservices.googleapis.com`). Applications using regional
///   endpoints or running in restricted networks (e.g. a network configured
//    with [Private Google Access with VPC Service Controls]) may want to
///   override this default.
/// * [with_credentials()]: by default this client uses
///   [Application Default Credentials]. Applications using custom
///   authentication may need to override this default.
///
/// [with_endpoint()]: super::builder::aml::ClientBuilder::with_endpoint
/// [with_credentials()]: super::builder::aml::ClientBuilder::credentials
/// [Private Google Access with VPC Service Controls]: https://cloud.google.com/vpc-service-controls/docs/private-connectivity
/// [Application Default Credentials]: https://cloud.google.com/docs/authentication#adc
///
/// # Pooling and Cloning
///
/// `Aml` holds a connection pool internally, it is advised to
/// create one and the reuse it.  You do not need to wrap `Aml` in
/// an [Rc](std::rc::Rc) or [Arc](std::sync::Arc) to reuse it, because it
/// already uses an `Arc` internally.
#[derive(Clone, Debug)]
pub struct Aml {
    inner: std::sync::Arc<dyn super::stub::dynamic::Aml>,
}

impl Aml {
    /// Returns a builder for [Aml].
    ///
    /// ```
    /// # tokio_test::block_on(async {
    /// # use google_cloud_financialservices_v1::client::Aml;
    /// let client = Aml::builder().build().await?;
    /// # gax::client_builder::Result::<()>::Ok(()) });
    /// ```
    pub fn builder() -> super::builder::aml::ClientBuilder {
        gax::client_builder::internal::new_builder(super::builder::aml::client::Factory)
    }

    /// Creates a new client from the provided stub.
    ///
    /// The most common case for calling this function is in tests mocking the
    /// client's behavior.
    pub fn from_stub<T>(stub: T) -> Self
    where
        T: super::stub::Aml + 'static,
    {
        Self {
            inner: std::sync::Arc::new(stub),
        }
    }

    pub(crate) async fn new(
        config: gaxi::options::ClientConfig,
    ) -> gax::client_builder::Result<Self> {
        let inner = Self::build_inner(config).await?;
        Ok(Self { inner })
    }

    async fn build_inner(
        conf: gaxi::options::ClientConfig,
    ) -> gax::client_builder::Result<std::sync::Arc<dyn super::stub::dynamic::Aml>> {
        if gaxi::options::tracing_enabled(&conf) {
            return Ok(std::sync::Arc::new(Self::build_with_tracing(conf).await?));
        }
        Ok(std::sync::Arc::new(Self::build_transport(conf).await?))
    }

    async fn build_transport(
        conf: gaxi::options::ClientConfig,
    ) -> gax::client_builder::Result<impl super::stub::Aml> {
        super::transport::Aml::new(conf).await
    }

    async fn build_with_tracing(
        conf: gaxi::options::ClientConfig,
    ) -> gax::client_builder::Result<impl super::stub::Aml> {
        Self::build_transport(conf)
            .await
            .map(super::tracing::Aml::new)
    }

    /// Lists instances.
    pub fn list_instances(&self) -> super::builder::aml::ListInstances {
        super::builder::aml::ListInstances::new(self.inner.clone())
    }

    /// Gets an instance.
    pub fn get_instance(&self) -> super::builder::aml::GetInstance {
        super::builder::aml::GetInstance::new(self.inner.clone())
    }

    /// Creates an instance.
    ///
    /// # Long running operations
    ///
    /// This method is used to start, and/or poll a [long-running Operation].
    /// The [Working with long-running operations] chapter in the [user guide]
    /// covers these operations in detail.
    ///
    /// [long-running operation]: https://google.aip.dev/151
    /// [user guide]: https://googleapis.github.io/google-cloud-rust/
    /// [working with long-running operations]: https://googleapis.github.io/google-cloud-rust/working_with_long_running_operations.html
    pub fn create_instance(&self) -> super::builder::aml::CreateInstance {
        super::builder::aml::CreateInstance::new(self.inner.clone())
    }

    /// Updates the parameters of a single Instance.
    ///
    /// # Long running operations
    ///
    /// This method is used to start, and/or poll a [long-running Operation].
    /// The [Working with long-running operations] chapter in the [user guide]
    /// covers these operations in detail.
    ///
    /// [long-running operation]: https://google.aip.dev/151
    /// [user guide]: https://googleapis.github.io/google-cloud-rust/
    /// [working with long-running operations]: https://googleapis.github.io/google-cloud-rust/working_with_long_running_operations.html
    pub fn update_instance(&self) -> super::builder::aml::UpdateInstance {
        super::builder::aml::UpdateInstance::new(self.inner.clone())
    }

    /// Deletes an instance.
    ///
    /// # Long running operations
    ///
    /// This method is used to start, and/or poll a [long-running Operation].
    /// The [Working with long-running operations] chapter in the [user guide]
    /// covers these operations in detail.
    ///
    /// [long-running operation]: https://google.aip.dev/151
    /// [user guide]: https://googleapis.github.io/google-cloud-rust/
    /// [working with long-running operations]: https://googleapis.github.io/google-cloud-rust/working_with_long_running_operations.html
    pub fn delete_instance(&self) -> super::builder::aml::DeleteInstance {
        super::builder::aml::DeleteInstance::new(self.inner.clone())
    }

    /// Imports the list of registered parties. See
    /// [Create and manage
    /// instances](https://cloud.google.com/financial-services/anti-money-laundering/docs/create-and-manage-instances#import-registered-parties)
    /// for information on the input schema and response for this method.
    ///
    /// # Long running operations
    ///
    /// This method is used to start, and/or poll a [long-running Operation].
    /// The [Working with long-running operations] chapter in the [user guide]
    /// covers these operations in detail.
    ///
    /// [long-running operation]: https://google.aip.dev/151
    /// [user guide]: https://googleapis.github.io/google-cloud-rust/
    /// [working with long-running operations]: https://googleapis.github.io/google-cloud-rust/working_with_long_running_operations.html
    pub fn import_registered_parties(&self) -> super::builder::aml::ImportRegisteredParties {
        super::builder::aml::ImportRegisteredParties::new(self.inner.clone())
    }

    /// Exports the list of registered parties. See
    /// [Create and manage
    /// instances](https://cloud.google.com/financial-services/anti-money-laundering/docs/create-and-manage-instances#export-registered-parties)
    /// for information on the output schema for this method.
    ///
    /// # Long running operations
    ///
    /// This method is used to start, and/or poll a [long-running Operation].
    /// The [Working with long-running operations] chapter in the [user guide]
    /// covers these operations in detail.
    ///
    /// [long-running operation]: https://google.aip.dev/151
    /// [user guide]: https://googleapis.github.io/google-cloud-rust/
    /// [working with long-running operations]: https://googleapis.github.io/google-cloud-rust/working_with_long_running_operations.html
    pub fn export_registered_parties(&self) -> super::builder::aml::ExportRegisteredParties {
        super::builder::aml::ExportRegisteredParties::new(self.inner.clone())
    }

    /// Lists datasets.
    pub fn list_datasets(&self) -> super::builder::aml::ListDatasets {
        super::builder::aml::ListDatasets::new(self.inner.clone())
    }

    /// Gets a dataset.
    pub fn get_dataset(&self) -> super::builder::aml::GetDataset {
        super::builder::aml::GetDataset::new(self.inner.clone())
    }

    /// Creates a dataset.
    ///
    /// # Long running operations
    ///
    /// This method is used to start, and/or poll a [long-running Operation].
    /// The [Working with long-running operations] chapter in the [user guide]
    /// covers these operations in detail.
    ///
    /// [long-running operation]: https://google.aip.dev/151
    /// [user guide]: https://googleapis.github.io/google-cloud-rust/
    /// [working with long-running operations]: https://googleapis.github.io/google-cloud-rust/working_with_long_running_operations.html
    pub fn create_dataset(&self) -> super::builder::aml::CreateDataset {
        super::builder::aml::CreateDataset::new(self.inner.clone())
    }

    /// Updates the parameters of a single Dataset.
    ///
    /// # Long running operations
    ///
    /// This method is used to start, and/or poll a [long-running Operation].
    /// The [Working with long-running operations] chapter in the [user guide]
    /// covers these operations in detail.
    ///
    /// [long-running operation]: https://google.aip.dev/151
    /// [user guide]: https://googleapis.github.io/google-cloud-rust/
    /// [working with long-running operations]: https://googleapis.github.io/google-cloud-rust/working_with_long_running_operations.html
    pub fn update_dataset(&self) -> super::builder::aml::UpdateDataset {
        super::builder::aml::UpdateDataset::new(self.inner.clone())
    }

    /// Deletes a dataset.
    ///
    /// # Long running operations
    ///
    /// This method is used to start, and/or poll a [long-running Operation].
    /// The [Working with long-running operations] chapter in the [user guide]
    /// covers these operations in detail.
    ///
    /// [long-running operation]: https://google.aip.dev/151
    /// [user guide]: https://googleapis.github.io/google-cloud-rust/
    /// [working with long-running operations]: https://googleapis.github.io/google-cloud-rust/working_with_long_running_operations.html
    pub fn delete_dataset(&self) -> super::builder::aml::DeleteDataset {
        super::builder::aml::DeleteDataset::new(self.inner.clone())
    }

    /// Lists models.
    pub fn list_models(&self) -> super::builder::aml::ListModels {
        super::builder::aml::ListModels::new(self.inner.clone())
    }

    /// Gets a model.
    pub fn get_model(&self) -> super::builder::aml::GetModel {
        super::builder::aml::GetModel::new(self.inner.clone())
    }

    /// Creates a model.
    ///
    /// # Long running operations
    ///
    /// This method is used to start, and/or poll a [long-running Operation].
    /// The [Working with long-running operations] chapter in the [user guide]
    /// covers these operations in detail.
    ///
    /// [long-running operation]: https://google.aip.dev/151
    /// [user guide]: https://googleapis.github.io/google-cloud-rust/
    /// [working with long-running operations]: https://googleapis.github.io/google-cloud-rust/working_with_long_running_operations.html
    pub fn create_model(&self) -> super::builder::aml::CreateModel {
        super::builder::aml::CreateModel::new(self.inner.clone())
    }

    /// Updates the parameters of a single Model.
    ///
    /// # Long running operations
    ///
    /// This method is used to start, and/or poll a [long-running Operation].
    /// The [Working with long-running operations] chapter in the [user guide]
    /// covers these operations in detail.
    ///
    /// [long-running operation]: https://google.aip.dev/151
    /// [user guide]: https://googleapis.github.io/google-cloud-rust/
    /// [working with long-running operations]: https://googleapis.github.io/google-cloud-rust/working_with_long_running_operations.html
    pub fn update_model(&self) -> super::builder::aml::UpdateModel {
        super::builder::aml::UpdateModel::new(self.inner.clone())
    }

    /// Export governance information for a Model resource. For
    /// information on the exported fields, see
    /// [AML output data
    /// model](https://cloud.google.com/financial-services/anti-money-laundering/docs/reference/schemas/aml-output-data-model#model).
    ///
    /// # Long running operations
    ///
    /// This method is used to start, and/or poll a [long-running Operation].
    /// The [Working with long-running operations] chapter in the [user guide]
    /// covers these operations in detail.
    ///
    /// [long-running operation]: https://google.aip.dev/151
    /// [user guide]: https://googleapis.github.io/google-cloud-rust/
    /// [working with long-running operations]: https://googleapis.github.io/google-cloud-rust/working_with_long_running_operations.html
    pub fn export_model_metadata(&self) -> super::builder::aml::ExportModelMetadata {
        super::builder::aml::ExportModelMetadata::new(self.inner.clone())
    }

    /// Deletes a model.
    ///
    /// # Long running operations
    ///
    /// This method is used to start, and/or poll a [long-running Operation].
    /// The [Working with long-running operations] chapter in the [user guide]
    /// covers these operations in detail.
    ///
    /// [long-running operation]: https://google.aip.dev/151
    /// [user guide]: https://googleapis.github.io/google-cloud-rust/
    /// [working with long-running operations]: https://googleapis.github.io/google-cloud-rust/working_with_long_running_operations.html
    pub fn delete_model(&self) -> super::builder::aml::DeleteModel {
        super::builder::aml::DeleteModel::new(self.inner.clone())
    }

    /// Lists engine configs.
    pub fn list_engine_configs(&self) -> super::builder::aml::ListEngineConfigs {
        super::builder::aml::ListEngineConfigs::new(self.inner.clone())
    }

    /// Gets an engine config.
    pub fn get_engine_config(&self) -> super::builder::aml::GetEngineConfig {
        super::builder::aml::GetEngineConfig::new(self.inner.clone())
    }

    /// Creates an engine config.
    ///
    /// # Long running operations
    ///
    /// This method is used to start, and/or poll a [long-running Operation].
    /// The [Working with long-running operations] chapter in the [user guide]
    /// covers these operations in detail.
    ///
    /// [long-running operation]: https://google.aip.dev/151
    /// [user guide]: https://googleapis.github.io/google-cloud-rust/
    /// [working with long-running operations]: https://googleapis.github.io/google-cloud-rust/working_with_long_running_operations.html
    pub fn create_engine_config(&self) -> super::builder::aml::CreateEngineConfig {
        super::builder::aml::CreateEngineConfig::new(self.inner.clone())
    }

    /// Updates the parameters of a single EngineConfig.
    ///
    /// # Long running operations
    ///
    /// This method is used to start, and/or poll a [long-running Operation].
    /// The [Working with long-running operations] chapter in the [user guide]
    /// covers these operations in detail.
    ///
    /// [long-running operation]: https://google.aip.dev/151
    /// [user guide]: https://googleapis.github.io/google-cloud-rust/
    /// [working with long-running operations]: https://googleapis.github.io/google-cloud-rust/working_with_long_running_operations.html
    pub fn update_engine_config(&self) -> super::builder::aml::UpdateEngineConfig {
        super::builder::aml::UpdateEngineConfig::new(self.inner.clone())
    }

    /// Export governance information for an EngineConfig resource. For
    /// information on the exported fields, see
    /// [AML output data
    /// model](https://cloud.google.com/financial-services/anti-money-laundering/docs/reference/schemas/aml-output-data-model#engine-config).
    ///
    /// # Long running operations
    ///
    /// This method is used to start, and/or poll a [long-running Operation].
    /// The [Working with long-running operations] chapter in the [user guide]
    /// covers these operations in detail.
    ///
    /// [long-running operation]: https://google.aip.dev/151
    /// [user guide]: https://googleapis.github.io/google-cloud-rust/
    /// [working with long-running operations]: https://googleapis.github.io/google-cloud-rust/working_with_long_running_operations.html
    pub fn export_engine_config_metadata(&self) -> super::builder::aml::ExportEngineConfigMetadata {
        super::builder::aml::ExportEngineConfigMetadata::new(self.inner.clone())
    }

    /// Deletes an engine config.
    ///
    /// # Long running operations
    ///
    /// This method is used to start, and/or poll a [long-running Operation].
    /// The [Working with long-running operations] chapter in the [user guide]
    /// covers these operations in detail.
    ///
    /// [long-running operation]: https://google.aip.dev/151
    /// [user guide]: https://googleapis.github.io/google-cloud-rust/
    /// [working with long-running operations]: https://googleapis.github.io/google-cloud-rust/working_with_long_running_operations.html
    pub fn delete_engine_config(&self) -> super::builder::aml::DeleteEngineConfig {
        super::builder::aml::DeleteEngineConfig::new(self.inner.clone())
    }

    /// Gets a single EngineVersion.
    pub fn get_engine_version(&self) -> super::builder::aml::GetEngineVersion {
        super::builder::aml::GetEngineVersion::new(self.inner.clone())
    }

    /// Lists EngineVersions for given location.
    pub fn list_engine_versions(&self) -> super::builder::aml::ListEngineVersions {
        super::builder::aml::ListEngineVersions::new(self.inner.clone())
    }

    /// List PredictionResults.
    pub fn list_prediction_results(&self) -> super::builder::aml::ListPredictionResults {
        super::builder::aml::ListPredictionResults::new(self.inner.clone())
    }

    /// Gets a PredictionResult.
    pub fn get_prediction_result(&self) -> super::builder::aml::GetPredictionResult {
        super::builder::aml::GetPredictionResult::new(self.inner.clone())
    }

    /// Create a PredictionResult.
    ///
    /// # Long running operations
    ///
    /// This method is used to start, and/or poll a [long-running Operation].
    /// The [Working with long-running operations] chapter in the [user guide]
    /// covers these operations in detail.
    ///
    /// [long-running operation]: https://google.aip.dev/151
    /// [user guide]: https://googleapis.github.io/google-cloud-rust/
    /// [working with long-running operations]: https://googleapis.github.io/google-cloud-rust/working_with_long_running_operations.html
    pub fn create_prediction_result(&self) -> super::builder::aml::CreatePredictionResult {
        super::builder::aml::CreatePredictionResult::new(self.inner.clone())
    }

    /// Updates the parameters of a single PredictionResult.
    ///
    /// # Long running operations
    ///
    /// This method is used to start, and/or poll a [long-running Operation].
    /// The [Working with long-running operations] chapter in the [user guide]
    /// covers these operations in detail.
    ///
    /// [long-running operation]: https://google.aip.dev/151
    /// [user guide]: https://googleapis.github.io/google-cloud-rust/
    /// [working with long-running operations]: https://googleapis.github.io/google-cloud-rust/working_with_long_running_operations.html
    pub fn update_prediction_result(&self) -> super::builder::aml::UpdatePredictionResult {
        super::builder::aml::UpdatePredictionResult::new(self.inner.clone())
    }

    /// Export governance information for a PredictionResult resource. For
    /// information on the exported fields, see
    /// [AML output data
    /// model](https://cloud.google.com/financial-services/anti-money-laundering/docs/reference/schemas/aml-output-data-model#prediction-results).
    ///
    /// # Long running operations
    ///
    /// This method is used to start, and/or poll a [long-running Operation].
    /// The [Working with long-running operations] chapter in the [user guide]
    /// covers these operations in detail.
    ///
    /// [long-running operation]: https://google.aip.dev/151
    /// [user guide]: https://googleapis.github.io/google-cloud-rust/
    /// [working with long-running operations]: https://googleapis.github.io/google-cloud-rust/working_with_long_running_operations.html
    pub fn export_prediction_result_metadata(
        &self,
    ) -> super::builder::aml::ExportPredictionResultMetadata {
        super::builder::aml::ExportPredictionResultMetadata::new(self.inner.clone())
    }

    /// Deletes a PredictionResult.
    ///
    /// # Long running operations
    ///
    /// This method is used to start, and/or poll a [long-running Operation].
    /// The [Working with long-running operations] chapter in the [user guide]
    /// covers these operations in detail.
    ///
    /// [long-running operation]: https://google.aip.dev/151
    /// [user guide]: https://googleapis.github.io/google-cloud-rust/
    /// [working with long-running operations]: https://googleapis.github.io/google-cloud-rust/working_with_long_running_operations.html
    pub fn delete_prediction_result(&self) -> super::builder::aml::DeletePredictionResult {
        super::builder::aml::DeletePredictionResult::new(self.inner.clone())
    }

    /// List BacktestResults.
    pub fn list_backtest_results(&self) -> super::builder::aml::ListBacktestResults {
        super::builder::aml::ListBacktestResults::new(self.inner.clone())
    }

    /// Gets a BacktestResult.
    pub fn get_backtest_result(&self) -> super::builder::aml::GetBacktestResult {
        super::builder::aml::GetBacktestResult::new(self.inner.clone())
    }

    /// Create a BacktestResult.
    ///
    /// # Long running operations
    ///
    /// This method is used to start, and/or poll a [long-running Operation].
    /// The [Working with long-running operations] chapter in the [user guide]
    /// covers these operations in detail.
    ///
    /// [long-running operation]: https://google.aip.dev/151
    /// [user guide]: https://googleapis.github.io/google-cloud-rust/
    /// [working with long-running operations]: https://googleapis.github.io/google-cloud-rust/working_with_long_running_operations.html
    pub fn create_backtest_result(&self) -> super::builder::aml::CreateBacktestResult {
        super::builder::aml::CreateBacktestResult::new(self.inner.clone())
    }

    /// Updates the parameters of a single BacktestResult.
    ///
    /// # Long running operations
    ///
    /// This method is used to start, and/or poll a [long-running Operation].
    /// The [Working with long-running operations] chapter in the [user guide]
    /// covers these operations in detail.
    ///
    /// [long-running operation]: https://google.aip.dev/151
    /// [user guide]: https://googleapis.github.io/google-cloud-rust/
    /// [working with long-running operations]: https://googleapis.github.io/google-cloud-rust/working_with_long_running_operations.html
    pub fn update_backtest_result(&self) -> super::builder::aml::UpdateBacktestResult {
        super::builder::aml::UpdateBacktestResult::new(self.inner.clone())
    }

    /// Export governance information for a BacktestResult resource. For
    /// information on the exported fields, see
    /// [AML output data
    /// model](https://cloud.google.com/financial-services/anti-money-laundering/docs/reference/schemas/aml-output-data-model#backtest-results).
    ///
    /// # Long running operations
    ///
    /// This method is used to start, and/or poll a [long-running Operation].
    /// The [Working with long-running operations] chapter in the [user guide]
    /// covers these operations in detail.
    ///
    /// [long-running operation]: https://google.aip.dev/151
    /// [user guide]: https://googleapis.github.io/google-cloud-rust/
    /// [working with long-running operations]: https://googleapis.github.io/google-cloud-rust/working_with_long_running_operations.html
    pub fn export_backtest_result_metadata(
        &self,
    ) -> super::builder::aml::ExportBacktestResultMetadata {
        super::builder::aml::ExportBacktestResultMetadata::new(self.inner.clone())
    }

    /// Deletes a BacktestResult.
    ///
    /// # Long running operations
    ///
    /// This method is used to start, and/or poll a [long-running Operation].
    /// The [Working with long-running operations] chapter in the [user guide]
    /// covers these operations in detail.
    ///
    /// [long-running operation]: https://google.aip.dev/151
    /// [user guide]: https://googleapis.github.io/google-cloud-rust/
    /// [working with long-running operations]: https://googleapis.github.io/google-cloud-rust/working_with_long_running_operations.html
    pub fn delete_backtest_result(&self) -> super::builder::aml::DeleteBacktestResult {
        super::builder::aml::DeleteBacktestResult::new(self.inner.clone())
    }

    /// Lists information about the supported locations for this service.
    pub fn list_locations(&self) -> super::builder::aml::ListLocations {
        super::builder::aml::ListLocations::new(self.inner.clone())
    }

    /// Gets information about a location.
    pub fn get_location(&self) -> super::builder::aml::GetLocation {
        super::builder::aml::GetLocation::new(self.inner.clone())
    }

    /// Provides the [Operations][google.longrunning.Operations] service functionality in this service.
    ///
    /// [google.longrunning.Operations]: longrunning::client::Operations
    pub fn list_operations(&self) -> super::builder::aml::ListOperations {
        super::builder::aml::ListOperations::new(self.inner.clone())
    }

    /// Provides the [Operations][google.longrunning.Operations] service functionality in this service.
    ///
    /// [google.longrunning.Operations]: longrunning::client::Operations
    pub fn get_operation(&self) -> super::builder::aml::GetOperation {
        super::builder::aml::GetOperation::new(self.inner.clone())
    }

    /// Provides the [Operations][google.longrunning.Operations] service functionality in this service.
    ///
    /// [google.longrunning.Operations]: longrunning::client::Operations
    pub fn delete_operation(&self) -> super::builder::aml::DeleteOperation {
        super::builder::aml::DeleteOperation::new(self.inner.clone())
    }

    /// Provides the [Operations][google.longrunning.Operations] service functionality in this service.
    ///
    /// [google.longrunning.Operations]: longrunning::client::Operations
    pub fn cancel_operation(&self) -> super::builder::aml::CancelOperation {
        super::builder::aml::CancelOperation::new(self.inner.clone())
    }
}
